package com.ruoyi.shop.trade.mapper;

import com.ruoyi.shop.trade.domain.ShopOrderDelivery;

/**
 * 商城订单配送Mapper接口
 * 
 * @author xuxiang
 * @date 2024-01-25
 */
public interface ShopOrderDeliveryMapper 
{
	/**
	 * 查询商城订单配送
	 * 
	 * @param deliveryId 商城订单配送主键
	 * @return 商城订单配送
	 */
	public ShopOrderDelivery selectDeliveryById(Long deliveryId);

    /**
     * 新增商城订单配送
     * 
     * @param shopOrderDelivery 商城订单配送
     * @return 结果
     */
    public int insertDelivery(ShopOrderDelivery shopOrderDelivery);

    /**
     * 修改商城订单配送
     * 
     * @param shopOrderDelivery 商城订单配送
     * @return 结果
     */
    public int updateDelivery(ShopOrderDelivery shopOrderDelivery);

    /**
     * 删除商城订单配送
     * 
     * @param deliveryId 商城订单配送主键
     * @return 结果
     */
    public int deleteDeliveryById(Long deliveryId);

}
